package com.dsg.entity.oil;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 油價設定
 * </p>
 *
 * @author system
 * @since 2020-10-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_oil_price")
@ApiModel(value="DsgOilPrice对象", description="油價設定")
public class DsgOilPrice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "企業編碼")
    @TableField("ENT_CODE")
    private String entCode;

    @ApiModelProperty(value = "油公司")
    @TableField("OIL_COM")
    private String oilCom;

    @ApiModelProperty(value = "產品編號")
    @TableField("PRODUCT_ID")
    private String productId;

    @ApiModelProperty(value = "底價")
    @TableField("FLOOR_PRICE")
    private BigDecimal floorPrice;

    @ApiModelProperty(value = "牌價")
    @TableField("BRAND_PRICE")
    private BigDecimal brandPrice;

    @ApiModelProperty(value = "生效時間")
    @TableField("EFFECT_TIME")
    private Date effectTime;

    @ApiModelProperty(value = "失效時間")
    @TableField("EXPIR_TIME")
    private Date expirTime;

    @ApiModelProperty(value = "創建人")
    @TableField("CREATER")
    private String creater;

    @ApiModelProperty(value = "創建時間")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "更新時間")
    @TableField("UPDATE_TIME")
    private Date updateTime;


}
